module Vote.Internal.App where

import Data.Pool (Pool)
import Database.PostgreSQL.Simple (Connection)
import Vote.Internal.Config (Config)
import Control.Lens (makeLenses)

data AppEnv = AppEnv
  { _appEnvConfig :: Config,
    _appEnvPool :: Pool Connection
  }

makeLenses ''AppEnv
